Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 2 - Control Manager Reference / Control Manager Functions
Displaying Controls /


DrawControlInCurrentPort

NEW WITH THE APPEARANCE MANAGER

Draws a control in the current graphics port.

pascal void DrawControlInCurrentPort (ControlHandle inControl);
inControl
On input, a handle to the control you wish to draw.
DISCUSSION
Normally, controls are automatically drawn in their owner's graphics port with DrawControls, DrawOneControl, and UpdateControls. DrawControlInCurrentPort permits easy offscreen control drawing and printing. All standard system controls support this function.

SEE ALSO
"Appearance Manager Gestalt Selector Constants".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998